package com.lzq.badminton.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("`order`")
public class Order {
//    @TableId
    private Long id;

    private Long userId;

    private String phone;

    private LocalDateTime orderTime;

    private LocalDateTime payTime;

    private Integer payStatus;

    private Double amount;

    private String remark;

    private String userName;

    private String cancelReason;

    private LocalDateTime cancelTime;

    private Long arenaId;

    @TableLogic
    private Integer isDelete;

    private Integer status;

    private LocalDateTime startTime;

    private LocalDateTime endTime;
}
